<?php
/**
 * @since v1.0
 * @modify 2015.6.21
 * @copyright 深圳亿游
 */
require_once(LIB_PATH.'controller/root.con.php');

class feeCon extends rootCon
{
    public function listAction() {
        $list = myredis::getArray("feeList");
        if($list){
            $this->j(0, "cache",$list);
        }

        $obj = new Fee();
        $obj->status = STATUS_PUBLISH;
        $result = $obj->all();

        myredis::setArray("feeList",$result,600);
        $this->j(0, "db",$result);
    }


}



